﻿using System;
namespace PM.Model
{
    /// <summary>
    /// UserType 账户类型
    /// </summary>
    public class UserType
    {
        public UserType()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        private int _id;
        private string _typename = String.Empty;
        private int _typeid = 1;
        private string _rating = String.Empty;
        private bool _state = true;
        private string _fun = String.Empty;
        private string _enablefun = String.Empty;
        private string _disablefun = String.Empty;

        /// <summary>
        /// 帐号系统编号（自动生成）
        /// </summary>
        public int Id
        {
            get { return this._id; }
            set
            {
                this._id = value;
            }
        }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string TypeName
        {
            get { return this._typename; }
            set
            {
                this._typename = value;
            }
        }
        /// <summary>
        /// 账户标记
        /// </summary>
        public int TypeId
        {
            get { return this._typeid; }
            set
            {
                this._typeid = value;
            }
        }
        /// <summary>
        /// 账户等级
        /// </summary>
        public string Rating
        {
            get { return this._rating; }
            set
            {
                this._rating = value;
            }
        }
        /// <summary>
        /// 状态（启用/禁用）
        /// </summary>
        public bool State
        {
            get { return this._state; }
            set
            {
                this._state = value;
            }
        }
        /// <summary>
        /// 默认功能
        /// </summary>
        public string Fun
        {
            get { return this._fun; }
            set
            {
                this._fun = value;
            }
        }
        /// <summary>
        /// 可用功能
        /// </summary>
        public string EnableFun
        {
            get { return this._enablefun; }
            set
            {
                this._enablefun = value;
            }
        }
        /// <summary>
        /// 禁用功能
        /// </summary>
        public string DisableFun
        {
            get { return this._disablefun; }
            set
            {
                this._disablefun = value;
            }
        }
    }
}
